package com.iot.ammeter.mapper.expand;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.Collection;

/**
 * @ClassName: ExpandBaseMapper
 * @Author: Basil
 * @Date: 2021/10/21 下午2:36
 * @Version: 1.0
 * @Description: 正真实现批量插入扩展接口
 **/
public interface ExpandBaseMapper<T> extends BaseMapper<T> {

    /**
     * 批量插入，仅适用于mysql
     * @param entityList 实体类集合
     * @return 影响行数
     */
    Integer insertBatchSomeColumn(Collection<T> entityList);
}
